FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package smart.who.int.icvp#current (31 ms)

Package smart.who.int.icvp
Type StructureMap
Id Id
FHIR Version R4
Source http://smart.who.int/icvp/https://build.fhir.org/ig/WorldHealthOrganization/smart-icvp/StructureMap-DVCClaimtoIPS.html
Url http://smart.who.int/icvp/StructureMap/DVCClaimtoIPS
Version 0.1.0
Status draft
Date 2024-12-11T15:44:25+00:00
Name DVCClaimtoIPS
Experimental False
Authority who

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureMap DVCClaimtoIPS

map "http://smart.who.int/icvp/StructureMap/DVCClaimtoIPS" = "DVCClaimtoIPS"

uses "http://smart.who.int/icvp/StructureDefinition/DVCPayload" alias DVCPayload as source
uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias IPS as target
uses "http://smart.who.int/icvp/StructureDefinition/ModelDVC" alias DVCModel as target
uses "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails" alias ModelVaccineDetails as target

imports "http://smart.who.int/icvp/StructureMap/DVCLMToIPS"
imports "http://smart.who.int/icvp/StructureMap/DVCClaimtoDVCLM"

group DVCClaimtoIPS(source DVCClaim : DVCPayload, target IPS : Bundle) {
  DVCClaim -> create('http://smart.who.int/icvp/StructureDefinition/ModelDVC') as model then {
    DVCClaim -> model then DVCClaimtoDVCLM(DVCClaim, model) "rule1";
    DVCClaim -> IPS then DVCLMToIPS(model, IPS) "rule2";
  } "rule3";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "DVCClaimtoIPS",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap DVCClaimtoIPS</b></p><a name=\"DVCClaimtoIPS\"> </a><a name=\"hcDVCClaimtoIPS\"> </a><a name=\"DVCClaimtoIPS-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://smart.who.int/icvp/StructureMap/DVCClaimtoIPS<span style=\"color: navy\">&quot; = &quot;</span>DVCClaimtoIPS<span style=\"color: navy\">&quot;\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-DVCPayload.html\" title=\"DVC HCERT Payload\">http://smart.who.int/icvp/StructureDefinition/DVCPayload</a><span style=\"color: navy\">&quot; </span><b>alias </b>DVCPayload <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/bundle.html\" title=\"Bundle\">http://hl7.org/fhir/StructureDefinition/Bundle</a><span style=\"color: navy\">&quot; </span><b>alias </b>IPS <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-ModelDVC.html\" title=\"DVC\">http://smart.who.int/icvp/StructureDefinition/ModelDVC</a><span style=\"color: navy\">&quot; </span><b>alias </b>DVCModel <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-ModelVaccineDetails.html\" title=\"DVC - Vaccine Details\">http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails</a><span style=\"color: navy\">&quot; </span><b>alias </b>ModelVaccineDetails <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-DVCLMToIPS.html\" title=\"DVCLMToIPS\">http://smart.who.int/icvp/StructureMap/DVCLMToIPS</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-DVCClaimtoDVCLM.html\" title=\"DVCClaimtoDVCLM\">http://smart.who.int/icvp/StructureMap/DVCClaimtoDVCLM</a><span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>DVCClaimtoIPS<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">DVCClaim</span><span style=\"color: navy\"> : </span>DVCPayload, <b>target</b> <span style=\"color: maroon\">IPS</span><span style=\"color: navy\"> : </span>Bundle<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> DVCClaim<span style=\"color: navy\"><b> -&gt; </b></span><b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://smart.who.int/icvp/StructureDefinition/ModelDVC'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">model</span><b> then</b><span style=\"color: navy\"> {\r\n</span> DVCClaim<span style=\"color: navy\"><b> -&gt; </b></span>model<b> then </b>DVCClaimtoDVCLM<span style=\"color: navy\">(</span><span style=\"color: maroon\">DVCClaim</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">model</span><span style=\"color: navy\">)</span> <i>&quot;rule1&quot;</i><span style=\"color: navy\">;</span>\r\n DVCClaim<span style=\"color: navy\"><b> -&gt; </b></span>IPS<b> then </b>DVCLMToIPS<span style=\"color: navy\">(</span><span style=\"color: maroon\">model</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">IPS</span><span style=\"color: navy\">)</span> <i>&quot;rule2&quot;</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>&quot;rule3&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "url" : "http://smart.who.int/icvp/StructureMap/DVCClaimtoIPS",
  "version" : "0.1.0",
  "name" : "DVCClaimtoIPS",
  "status" : "draft",
  "date" : "2024-12-11T15:44:25+00:00",
  "publisher" : "WHO",
  "contact" : [
    {
      "name" : "WHO",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://who.int"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://smart.who.int/icvp/StructureDefinition/DVCPayload",
      "mode" : "source",
      "alias" : "DVCPayload"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/Bundle",
      "mode" : "target",
      "alias" : "IPS"
    },
    {
      "url" : "http://smart.who.int/icvp/StructureDefinition/ModelDVC",
      "mode" : "target",
      "alias" : "DVCModel"
    },
    {
      "url" : "http://smart.who.int/icvp/StructureDefinition/ModelVaccineDetails",
      "mode" : "target",
      "alias" : "ModelVaccineDetails"
    }
  ],
  "import" : [
    "http://smart.who.int/icvp/StructureMap/DVCLMToIPS",
    "http://smart.who.int/icvp/StructureMap/DVCClaimtoDVCLM"
  ],
  "group" : [
    {
      "name" : "DVCClaimtoIPS",
      "typeMode" : "none",
      "input" : [
        {
          "name" : "DVCClaim",
          "type" : "DVCPayload",
          "mode" : "source"
        },
        {
          "name" : "IPS",
          "type" : "Bundle",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "rule3",
          "source" : [
            {
              "context" : "DVCClaim"
            }
          ],
          "target" : [
            {
              "contextType" : "variable",
              "variable" : "model",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "http://smart.who.int/icvp/StructureDefinition/ModelDVC"
                }
              ]
            }
          ],
          "rule" : [
            {
              "name" : "rule1",
              "source" : [
                {
                  "context" : "DVCClaim"
                }
              ],
              "target" : [
                {
                  "context" : "model",
                  "contextType" : "variable"
                }
              ],
              "dependent" : [
                {
                  "name" : "DVCClaimtoDVCLM",
                  "variable" : [
                    "DVCClaim",
                    "model"
                  ]
                }
              ]
            },
            {
              "name" : "rule2",
              "source" : [
                {
                  "context" : "DVCClaim"
                }
              ],
              "target" : [
                {
                  "context" : "IPS",
                  "contextType" : "variable"
                }
              ],
              "dependent" : [
                {
                  "name" : "DVCLMToIPS",
                  "variable" : [
                    "model",
                    "IPS"
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.